<!DOCTYPE html>
<html LANG="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>卓越搜索</title>
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
<link type="image/x-icon" rel="shortcut icon" href="favicon.ico" />
<script src="scripts/jquery.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
<!--[if lt IE 9]>
  <script src="bootstrap/js/html5shiv.min.js"></script>
  <script src="bootstrap/js/respond.min.js"></script>
<![endif]-->
</head>
<body>
	<nav class="navbar navbar-default" role="navigation">
   		<div class="navbar-header">
      		<a class="navbar-brand" href="index.html"><strong>卓越搜索</strong></a>
   		</div>
   		<div>
      		<ul class="nav navbar-nav">
         		<li class="active"><a href="index.html">主页</a></li>
         		<li><a href="setting">设置</a></li>
         		<li><a href="stat">搜索词</a></li>
      		</ul>
    	</div>
	</nav>
	<div style="padding: 50px 100px 10px;">
		<form class="bs-example bs-example-form" id="searchForm" role="form" action="search" method="post">
      		<img src="images/zy.jpg" class="img-rounded" width="238" height="73"/> 
			<div class="row">
				<div class="col-lg-6">
					<div class="input-group">
						<input id="currentPage" name="currentPage" value="1" type="text" style="display: none;" /> 
						<span class="input-group-addon"><i class="glyphicon glyphicon-search"></i></span>
						<input id="queryWord" name="queryWord" value="李青" type="text" class="form-control" /> 
						<span class="input-group-btn">
							<button class="btn btn-default" type="button" onclick="formSubmit();">
								文档搜索
							</button>
						</span>
					</div>
				</div>
			</div>
		</form>
	</div>
</body>
<script type="text/javascript">
	$(function() {
		document.onkeydown = function(e) {
			var ev = document.all ? window.event : e;
			if (ev.keyCode == 13) {
				formSubmit();
			}
		}
	});

	function formSubmit() {
		$('#searchForm').submit();
	}
</script>
</html>